<script>
export default {
  render(h) {
    return (
      <div>
        <h3>请求拦截（请求前）</h3>
        <p>可以给请求加token</p>
        <p>axios.interceptors.request.use(function (config)</p>
        <h3>响应拦截（响应后）</h3>
        <p>可以统一错误处理</p>
        <p>axios.interceptors.response.use(function (response)</p>
      </div>
    );
  },
};
</script>